Skip to content

feat: add interactive user questions to WebUI - #1067

Merged
alcholiclg merged 7 commits into
modelscope:mainfrom
alcholiclg:feat/ask_question
Nov 23, 2026
Merged

alcholiclg merged 7 commits into
modelscope:mainfrom
alcholiclg:feat/ask_question

Conversation

@alcholiclg

Copy link
Copy Markdown
Collaborator

Change Summary

  • Add ask_user_question with shared interaction contracts and WebUI support. Return answers through the original tool call, independently of permission approvals.
  • Support batched questions, single/multi-select and custom answers, skip/cancel/timeout handling, page reconnection, and ordered history replay.
  • Prefer structured questions for blocking decisions while respecting task stopping points. Guide context summaries to retain confirmed choices, corrections, and task boundaries.

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Run pre-commit install and pre-commit run --all-files before git commit, and passed lint check.
  • Documentation reflects the changes where applicable

@alcholiclg
alcholiclg merged commit 4ed3f6c into modelscope:main Nov 23, 2026
0 of 2 checks passed

This branch is being deployed

1 queued deployment
testci — d0f2129d Deployed Nov 23, 2026 by alcholiclg via unittest #2054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants